/**
 * 
 */
package javapop.framework.generic;

import javapop.framework.generic.tool.GrammarVisitor;

/**
 * @author hakim
 *
 */
public class GExprParser implements GrammarTree {

	private String name;
	
	/**
	 * @param content 
	 * 
	 */
	public GExprParser(String content) {
		name = content;
	}

	
	public String getName() {
		return name;
	}


	@Override
	public <T,R,E extends Exception> T visit(GrammarVisitor<T,R, E> g) throws E {
		return g.visit(this);
	}

	@Override
	public String toString() {
		return "@def_expr_parser("+name+");";
	}
}
